package org.jsola.contract.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.contract.example.TemplateVariableExample.E_TEMPLATE_ID;
import static org.jsola.contract.example.TemplateVariableExample.E_VARIABLE_ID;
import static org.jsola.contract.example.TemplateVariableExample.N_TEMPLATE_ID;
import static org.jsola.contract.example.TemplateVariableExample.N_VARIABLE_ID;
import static org.jsola.contract.example.TemplateVariableExample.N_TYPE;
import static org.jsola.contract.example.TemplateVariableExample.E_TYPE;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_ID;

/**
 * 合同模板关联变量
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【合同模板关联变量】列表展示对象")
@Data
public class TemplateVariableListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_TEMPLATE_ID, example = E_TEMPLATE_ID)
    private Long templateId;

    @ApiModelProperty(notes = N_VARIABLE_ID, example = E_VARIABLE_ID)
    private Long variableId;

    @ApiModelProperty(notes = N_TYPE, example = E_TYPE)
    private String variableType;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;


    @ApiModelProperty(notes = org.jsola.contract.example.VariableExample.N_NAME, example = org.jsola.contract.example.VariableExample.E_NAME)
    private String variableName;


}

